<!--#layout("/common/layout.html",{"jsBase":"/js/admin/dict/"}){ -->
<!--# if(false) { -->
<layui:searchForm formId="searchForm"  condition="${search}">
</layui:searchForm>
<!--# } -->
  <div class="layui-btn-group margin-bottom">
  	<layui:accessButton function="admin.dict.add"  action="add">增加</layui:accessButton>
  	<layui:accessButton function="admin.dict.edit"  action="edit">编辑</layui:accessButton>
  	<layui:accessButton function="admin.dict.del"  action="del">删除</layui:accessButton>
  	<layui:accessButton function="admin.dict.exportExcel"  action="exportExcel">导出</layui:accessButton>
	<layui:accessButton function="admin.dict.importExcel"  action="importExcel">导入</layui:accessButton>
  </div>
<table id="dictTable" lay-filter="dictTable"></table>
<!--#} -->
<script>

layui.use(['index'], function(){
  var index = layui.index;
  var type = '${parameter.type!}';
  index.init(type);
});

</script>
<script type="text/html" id="optionTpl">
	<layui:accessButton function="admin.dict.edit" valueId="{{d.id}}" name="{{d.name}}" style="layui-btn-xs" action="edit">编辑</layui:accessButton>
	<layui:accessButton function="admin.dict.delete" valueId="{{d.id}}" name="{{d.name}}" style="layui-btn-xs" action="del">删除</layui:accessButton>
	<layui:accessButton function="admin.dict.add" valueId="{{d.id}}" name="{{d.name}}" style="layui-btn-xs" action="addSub">增加</layui:accessButton>
</script>
